/*
 * @Author: 矫建武 1452239416@qq.com
 * @Date: 2024-09-04 17:13:38
 * @LastEditTime: 2024-12-12 11:19:40
 * @FilePath: \tool\src\router\modules\2.form.ts
 * @Description:
 *
 * @file: https://github.com/OBKoro1/koro1FileHeader/wiki/%E5%AE%89%E8%A3%85%E5%92%8C%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B
 */

import layout from '@/layout/index.vue';
import {
  DashboardOne,
  ListView,
  Slide,
  PivotTable,
  ExcelOne,
} from '@icon-park/vue-next';
import { ScaleToOriginal } from '@element-plus/icons-vue';
const route = {
  title: '组件演示',
  name: 'componentDemonstration',
  path: '/componentDemonstration',
  icon: ListView,
  component: layout,
  isHide: false,
  children: [
    {
      path: 'button1',
      name: 'button1',
      title: '按钮使用',
      icon: ScaleToOriginal,
      component: () =>
        import('@/views/componentDemonstration/button/index.vue'),
    },
    {
      path: 'forms1',
      name: 'forms1',
      title: '表单演示',
      icon: Slide,
      component: () => import('@/views/componentDemonstration/forms/index.vue'),
    },
    {
      path: 'forms2',
      name: 'forms2',
      title: '获取表单值',
      icon: DashboardOne,
      component: () =>
        import('@/views/componentDemonstration/forms/getValuie.vue'),
    },
    {
      path: 'table1',
      name: 'table1',
      title: '表格演示',
      icon: PivotTable,
      component: () => import('@/views/componentDemonstration/table/index.vue'),
    },
    {
      path: 'table2',
      name: 'table2',
      title: '带输入框的表格',
      icon: ExcelOne,
      component: () =>
        import('@/views/componentDemonstration/table/editTable.vue'),
    },
  ],
};
export default route;
